package com.meshnetics.gb.util.checkers;

/**
 * Some commonly useful range checkers.
 *
 * @author Yury Aserchev (yaserchev@meshnetics.com)
 *         Date: 23.06.2008 16:36:47
 */
public final class RangeCheckers {
    /** Range checker for byte (int-8): -128..127 */
    public static final RangeCheck BYTE = new RangeCheckerByte();
    /** Range checker for u-byte (u-int-8): 0..255 */
    public static final RangeCheck UBYTE = new RangeCheckerUByte();
    /** Range checker for short (int-16): -32768..32767 */
    public static final RangeCheck SHORT = new RangeCheckerShort();
    /** Range checker for u-short (u-int-16): 0..65535 */
    public static final RangeCheck USHORT = new RangeCheckerUShort();
    /** Range checker for int (int-32): -2147483648..2147483647 */
    public static final RangeCheck INT = new RangeCheckerInt();

    public static final RangeCheck UINT = new RangeCheckerUInt();

    public static final RangeCheck ULONG = new RangeCheckerULong();
    private RangeCheckers (){}
}
